const weRequest = require('../utils/weRequest')
const API = {
  getIntegralDetail:"integral/getIntegralDetail",  
  saveInteralByadVideo:"integral/saveInteralByadVideo",  
  getMoreIntegralDetail:"integral/getMoreIntegralDetail",
  performLowScoreWordExercise:"integral/performLowScoreWordExercise"
};
const integralAPI = {
  getIntegralDetail(data){
    return weRequest.request({
      showLoading: true,url:API.getIntegralDetail,
      method:'get',
      data:data
    })
  },   
  saveInteralByadVideo(data){
    return weRequest.request({
      showLoading: true,url:API.saveInteralByadVideo,
      method:'post',
      data
    })
  },
  getMoreIntegralDetail(data){
    return weRequest.request({
      showLoading: true,url:API.getMoreIntegralDetail,
      method:'get',
      data:data
    })
  },
  performLowScoreWordExercise(data){
    return weRequest.request({
      showLoading: true,url:API.performLowScoreWordExercise,
      method:'post',
      data
    })
  },
  
}
module.exports =  integralAPI;